<?php
/**
 * Description of MemberModelclass
 *
 * @author Mike
 */
class MemberModel extends CommonModel {
    public $_validate	=	array(
		//array('account','/^[a-z]\w{3,}$/i','帐号格式错误'),
		array('password','require','密码必须'),
		array('nickname','require','昵称必须'),
		array('repassword','require','确认密码必须'),
		array('repassword','password','确认密码不一致',self::EXISTS_VAILIDATE,'confirm'),
		array('account','','帐号已经存在,是否现在 <b><a href="__APP__/Index/findPw">找回密码？</a></b>',self::EXISTS_VAILIDATE,'unique',self::MODEL_INSERT),
		);
}
?>
